package com.shxc.smarttrade.account.model;

import java.util.List;

/**
 * 个人账户信息列表
 */

public class UserTypeModel {

    /**
     * data : {"userAccount":[{"userId":6,"mt4Id":null,"accType":0,"passwd":null,"createdAt":1520823216000,"desTime":1521255193000,"nowAccount":true,"destroy":false}]}
     * err_code : 0
     * err_msg : successe
     */

    private DataBean data;
    private String err_code;
    private String err_msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        private List<UserAccountBean> userAccount;

        public List<UserAccountBean> getUserAccount() {
            return userAccount;
        }

        public void setUserAccount(List<UserAccountBean> userAccount) {
            this.userAccount = userAccount;
        }

        public static class UserAccountBean {
            /**
             * userId : 6
             * mt4Id : null
             * accType : 0
             * passwd : null
             * createdAt : 1520823216000
             * desTime : 1521255193000
             * nowAccount : true
             * destroy : false
             */

            private int userId;
            private String mt4Id;
            private int accType;
            private String passwd;
            private long createdAt;
            private long desTime;
            private boolean nowAccount;
            private boolean destroy;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }


            public int getAccType() {
                return accType;
            }

            public void setAccType(int accType) {
                this.accType = accType;
            }


            public long getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(long createdAt) {
                this.createdAt = createdAt;
            }

            public long getDesTime() {
                return desTime;
            }

            public void setDesTime(long desTime) {
                this.desTime = desTime;
            }

            public boolean isNowAccount() {
                return nowAccount;
            }

            public void setNowAccount(boolean nowAccount) {
                this.nowAccount = nowAccount;
            }

            public boolean isDestroy() {
                return destroy;
            }

            public void setDestroy(boolean destroy) {
                this.destroy = destroy;
            }

            public String getMt4Id() {
                return mt4Id;
            }

            public void setMt4Id(String mt4Id) {
                this.mt4Id = mt4Id;
            }

            public String getPasswd() {
                return passwd;
            }

            public void setPasswd(String passwd) {
                this.passwd = passwd;
            }
        }
    }
}
